1bashThis demonstrates checking the exit status of a function and handling success or failure in a Bash script.if myfunc; then echo "success" else echo "failure" fibash internalflow controltests (conditions)exit status condition